import request  from "@/utils/request.js";
const PREFIX= "/admin/audit"
export default {
    /**
     * 获取审核列表
     * @param dto
     * @returns {*}
     */
    getAuditRecordList(dto){
        return request({
            url:`${PREFIX}/page/list`,
            method:'post',
            data:dto
        })
    },
    getRecordInfo(id){
        return request({
            url:`${PREFIX}/info/${id}`,
            method:'get'
        })
    },
    doAudit(dto){
        return request({
            url:`${PREFIX}/do`,
            method:'post',
            data:dto
        })
    }
}